package com.xbongbong.paas.manager;

import com.xbongbong.paas.pojo.dto.ImmediatelyPushDTO;
import com.xbongbong.paas.pojo.vo.ImmediatelyPushVO;
import com.xbongbong.paas.toolbox.exception.XbbException;

/**
 * 推送远程调用
 * @author kaka
 * @time 2018-10-10 15:52
 */
public interface PushManager {

    /**
     * 立即推送消息入库
     * @param immediatelyPushDTO 立即推送消息DTO
     * @return 关联业务VO
     * @throws XbbException 业务异常
     */
    ImmediatelyPushVO immediatelyPush(ImmediatelyPushDTO immediatelyPushDTO) throws XbbException;
}
